Offers utilities to convert from structures or enums to strings, and vice versa. More...
Static Public Member Functions | |
static const char * | getStringFromComponentType (COMPONENT_TYPE type) |
static COMPONENT_TYPE | getComponentTypeFromString (const std::string_view &name) |
static const char * | getStringFromLayoutType (LAYOUT_TYPE type) |
static LAYOUT_TYPE | getLayoutTypeFromString (const std::string_view &name) |
static const char * | getStringFromRelativePosition (RELATIVE_POSITION position) |
static RELATIVE_POSITION | getRelativePositionFromString (const std::string_view &name) |
Offers utilities to convert from structures or enums to strings, and vice versa.
|
static |
Converts a component type to its attached string.
type | The type to convert. |
|
static |
Converts a string to its attached component type.
name | The string describing a type. |
|
static |
Converts a layout type to its attached string.
type | The type to convert. |
|
static |
Converts a string to its attached layout type.
name | The string describing a type. |
|
static |
Converts a relative position type to its attached string.
position | The type to convert. |
|
static |
Converts a string to its attached relative position type.
name | The string describing a type. |